/* ============================================
   Archived Problems Page Specific Styles
   ============================================ */

/* Page Header Override if needed */
.page-header {
  background: linear-gradient(135deg, #1a5490 0%, #0052CC 100%);
  color: var(--color-white);
  padding: 3rem 1rem;
  text-align: center;
  margin-bottom: 0;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.page-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* ============================================
   Archived Problems List Styles
   ============================================ */

.list-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
  background: var(--color-bg-light);
  min-height: 400px;
}

/* Empty State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  background: var(--color-white);
  border-radius: 12px;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  margin: 2rem 0;
}

.empty-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.empty-state h2 {
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.empty-state p {
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 4px;
  font-weight: 600;
  transition: background var(--transition);
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  color: var(--color-white);
}

/* Loading State */
.loading-state {
  text-align: center;
  padding: 3rem;
  color: var(--color-text-light);
}

.list-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.list-item {
  background: var(--color-white);
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  gap: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.list-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.item-image {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-light);
}

.item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-img-placeholder {
  font-size: 3rem;
  color: var(--color-border);
}

.item-content {
  flex: 1;
  padding: 0.6rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.item-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.25rem;
}

.item-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-secondary);
  flex: 1;
  min-width: 0;
}

.item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.item-date,
.item-location {
  color: var(--color-text-light);
  font-size: 0.75rem;
}

.item-preview {
  color: var(--color-text-light);
  font-size: 0.75rem;
  margin: 0.2rem 0;
  line-height: 1.3;
  flex: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.35rem;
  flex-wrap: wrap;
}

.item-tag {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-primary);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 500;
}

.item-status {
  display: inline-block;
  color: var(--color-white);
  padding: 0.3rem 0.7rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.item-status.pending {
  background: #f59e0b;
}

.item-status.resolved {
  background: #10b981;
}

.item-status.in-progress {
  background: #3b82f6;
}

.item-status.rejected {
  background: #ef4444;
}

.item-id {
  font-size: 0.75rem;
  color: var(--color-placeholder);
  font-family: monospace;
  opacity: 0.7;
}

.content-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Redundant Footer styles removed - handled by global.css */

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 900px) {
  .nav-menu {
    gap: 0;
  }

  .nav-link {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
}
